package com.yunyike.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yunyike.mapper.OrderCouponMappingMapper;
import com.yunyike.model.OrderCouponMapping;
import com.yunyike.service.IOrderCouponMappingService;

@Service("orderCouponMappingServiceImpl")
@Transactional
public class OrderCouponMappingServiceImpl implements IOrderCouponMappingService{

	@Autowired
	private OrderCouponMappingMapper orderCouponMappingMapper;
	
	public int insert(OrderCouponMapping ocm) {
		return orderCouponMappingMapper.insertSelective(ocm);
	}

}
